Skip to main content

mergAccessoryDisonnected

Type​

message

Summary​

Sent to the control that registered for notifications when an accessory with a supported protocol disconnects to the device

Syntax​

mergAccessoryDisonnected <pName>

Description​

Sent to the control that registered for notifications when an accessory with a supported protocol disconnects to the device

Parameters​

NameTypeDescription

pName

A device name.

Examples​

on openCard
if the environment = "mobile" then
mergAccessoryRegisterForNotifications
end if
end openCard

on mergAccessoryConnected pName
if pName = "p25i" then
show button "printDocket"
end if
end mergAccessoryConnected

on mergAccessoryDisconnected pName
if pName = "p25i" then
hide button "printDocket"
end if
end mergAccessoryDisconnected

Compatibility and Support​

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?